#include <stdio.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <sys/select.h>
#include <stdlib.h>

int main(int argc, const char *argv[])
{
	int sockfd=socket(AF_INET,SOCK_STREAM,0);

	struct sockaddr_in serveraddr,clientaddr;
	serveraddr.sin_addr.s_addr=inet_addr(argv[1]);
	serveraddr.sin_family=AF_INET;
	serveraddr.sin_port=htons(atoi(argv[2]));
	
	socklen_t addrlen=sizeof(serveraddr);
	
	connect(sockfd,(struct sockaddr *)&serveraddr,addrlen);
	while(1)
	{

		
	}
	return 0;
}
